If no type-declaration character or keyword is specified, the DefSng statement sets the default variable type, according to a letter range.
型宣言文字またはキーワードが指定されていない場合、DefSng ステートメントは文字範囲に従ってデフォルトの変数型を設定します。
Defxxx Characterrange1[, Characterrange2[,...]]
Defxxx Characterrange1[, Characterrange2[,...]]
Characterrange: Letters that specify the range of variables that you want to set a default data type for.
Characterrange: デフォルトのデータ型の設定対象である変数の範囲を指定する文字。
xxx: Keyword that defines the default variable type:
xxx: デフォルトの変数型を定義するキーワード。
Keyword: Default variable type
Keyword: デフォルトの変数型
DefSng: Single
DefSng: シングル
REM Prefix definitions for variable types:
REM 変数型のプレフィックスの定義:
DefBool b
DefBool b
DefDate t
DefDate t
DefDbL d
DefDbL d
DefInt i
DefInt i
DefLng l
DefLng l
DefObj o
DefObj o
DefVar v
DefVar v
DefSng s
DefSng s
Sub ExampleDefSng
Sub ExampleDefSng
sSng=Single REM sSng is an implicit single variable
sSng=Single REM sSng は暗黙的な 1 つの変数です
end sub
end sub